<!DOCTYPE HTML>
<html>
  <head>
  <meta http-equiv="content-type" content="text/html; charset=windows-1251">
  <title>canvas</title>
  </head>
  <body style="background:#888;">
  </body>
  <script>
    var a=function(){
      this.obj1=[];
      this.obj2=[];
      this.tst=function(){
        this.obj1[0]=1;
        this.obj2[0]=this.obj1[0];
        
        this.obj2[0]=55;
        alert(this.obj1);
			}
			
		}
		var b=new a();
		b.tst();
  </script>
</html>
